package service.impl;

import dao.ProductInfoDao;
import dao.impl.ProductInfoDaoImpl;
import entity.Product_Info;
import service.ProductInfoService;

public class ProductInfoServiceImpl implements ProductInfoService {
	private ProductInfoDao pid = new ProductInfoDaoImpl();

	@Override
	public Product_Info queryProduct_InfoById(Integer product_id) {
		return pid.queryProduct_InfoById(product_id);
	}


	@Override
	public Product_Info queryProduct_InfoByName(String product_name) {
		return pid.queryProduct_InfoByName(product_name);
	}


}
